﻿using RearLivestock.Common.Domains.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.zjy
{
    /// <summary>
    /// 角色权限表
    /// </summary>
    public class RolePermissions
    {
        /// <summary>
        /// 角色权限编号
        /// </summary>
        [Key]
        public int RolePermissionsId { get; set; }

        /// <summary>
        /// 角色ID (外键)
        /// </summary>
        public int RolesId { get; set; }

        /// <summary>
        /// 权限ID (外键)
        /// </summary>
        public int PermissionsId { get; set; }

        /// <summary>
        /// 是否删除 false-未删除 true-已删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 操作 1-浏览 2-增加 3-删除 4-编辑
        /// </summary>
        public string Operate { get; set; }
    }
}
